home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / rexx / 504 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.5 KB

  1. Path: news.inc.net!news
  2. From: Sanjay Jain <sanjay.jain@midata.com>
  3. Newsgroups: comp.lang.rexx
  4. Subject: Re: Timed pause in REXX
  5. Date: Fri, 26 Jan 1996 09:38:49 -0600
  6. Organization: M & I Data Services
  7. Distribution: inet
  8. Message-ID: <3108F589.29D1@midata.com>
  9. References: <4e9cf4$2ev@anarchy.io.com>
  10. NNTP-Posting-Host: 199.38.140.14
  11. Mime-Version: 1.0
  12. Content-Type: text/plain; charset=us-ascii
  13. Content-Transfer-Encoding: 7bit
  14. X-Mailer: Mozilla 2.0b4 (Win95; I)
  15.  
  16. Mike j DeSanto wrote:
  17. >         I need a Rexx command to pause a program for a given number of seconds.
  18. > Now, I can use time("R") and Time("E") with an infinite loop, like this.
  19. > call time("R")
  20. > Do While Time("E") < target
  21. >         NOP
  22. > End
  23. >         However, this crushes my system resources.  Is there any kind of
  24. > command to say 'let everything else go for x seconds'?  It is annoying
  25. > that waiting takes more resources than playing WAV files.
  26. >         By the way, I am writing a program to run Interactive
  27. > Entertainment magazine.  I am using OS/2 Warp and VX-REXX.
  28. >         Please reply if you know how to do this, it is bugging the hexk
  29. > out of me.
  30. > --
  31. > The Big D                                   desantom@io.com
  32. >                                           It doesn't have to work right,
  33. >                                           It just has to work!
  34.  
  35. Have you looked at the syssleep function in OS/2 REXX.  The parameter to 
  36. this function is the time you want to kill.  I forget whether it's in 
  37. seconds or minutes.
  38.  
  39.  
  40. Sanjay Jain
  41.